import 'package:yysk_app/env/env.dart';

// URL 聚合模块
class ApiUrl {
  static String baseUrl = Env.envConfig.envHttpUrl;
  static String userInfo = '$baseUrl/user/web/v1/getUserInfo'; // 查询用户信息

  static String updateUserInfo =
      '$baseUrl/user/web/v1/update_user_info'; // 修改用户信息
  static String invite = '$baseUrl/user/web/v1/invite'; // 绑定邀请码
  static String loginBySms = '$baseUrl/user/web/v1/login_by_sms'; // 短信验证码登录
  static String loginByPwd = '$baseUrl/user/web/v1/login_by_pwd'; // 用户密码登录
  static String forgetUserPassword =
      '$baseUrl/user/web/v1/forget_user_password'; // 忘记密码
  static String logout = '$baseUrl/user/web/v1/logout'; // 登出
  static String cancelLogOff = '$baseUrl/user/web/v1/cancelLogOff'; // 取消注销
  static String userProps = '$baseUrl/prop/web/userProps'; // 我的道具
  static String listByPropId =
      '$baseUrl/prop/web/userProps/listByPropId'; // 当前用户下某个道具列表
  static String countByPropId =
      '$baseUrl/prop/web/userProps/countByPropId'; // 当前用户下某个道具数量
  static String historyPropList = '$baseUrl/prop/web/userProps/history'; // 历史道具
  static String collectionTransferRecord =
      '$baseUrl/collection/web/collectionTransferRecord'; // 藏品流转记录分页查询

  static String updateExchangePassword =
      '$baseUrl/user/web/v1/security_password'; //修改登录密码
  static String updateUserPassword =
      '$baseUrl/user/web/v1/update_user_password'; //修改登录密码
  static String daoListPage = '$baseUrl/marketing/web/dao/page'; //品牌列表
  static String pointsPage = '$baseUrl/marketing/web/points/list'; //积分列表
  static String pointsDetail = '$baseUrl/marketing/web/points/page'; //我的积分
  static String userBoxPage = '$baseUrl/marketing/web/userBox/page'; //我的心愿盒列表
  static String boxListByBoxId =
      '$baseUrl/marketing/web/userBox/boxListByBoxId'; //单个心愿盒列表
  static String countByBoxId =
      '$baseUrl/marketing/web/userBox/countByBoxId'; //我的心愿盒列表
  static String openUserBox = '$baseUrl/marketing/web/userBox/open'; //开心愿盒
  static String userBoxPageRecord =
      '$baseUrl/marketing/web/userBox/pageRecord'; //我的心愿盒记录列表

  static String putCertification =
      '$baseUrl/common/realNameValid/putCertification'; //提交实名认证
  static String getCertificationType =
      '$baseUrl/common/realNameValid/getCertificationType'; //获取实名认证状态脱敏
  static String getFaceVerificationUrl =
      '$baseUrl/common/realNameValid/faceVerificationUrl'; //人脸核验Url
  static String getFaceGetResult =
      '$baseUrl/common/realNameValid/faceGetResult'; //获取人脸结果
  static String getUploadUrl = '$baseUrl/common/upload/getUploadUrl'; //获取上传图片链接

  // 魔坊
  static String magicFangListPage =
      '$baseUrl/marketing/web/versatile/magic/page'; //魔坊列表
  static String magicFangDetailPage =
      '$baseUrl/marketing/web/versatile/magic/user/activity/detail'; //魔坊百变活动详情
  static String mgUserEnableVersatility =
      '$baseUrl/marketing/web/versatile/magic/user/enableVersatility'; //用户开启百变
  static String magicFangRecord =
      '$baseUrl/marketing/web/versatile/magic/record/page'; //用户百变记录
  static String magicFangRecordDetail =
      '$baseUrl/marketing/web/versatile/magic/record/detail'; //用户百变记录详情
  static String magicFangRecordDetailReward =
      '$baseUrl/marketing/web/versatile/magic/record/reward/page'; //用户百变记录详情-奖励发放明细

  // 魔坊资产
  static String magicFangAssetList =
      '$baseUrl/marketing/web/points/versatilePoints'; //百变魔坊资产明细-积分
  static String magicFangAssetPointsList =
      '$baseUrl/marketing/web/points/versatilePointsPage'; //百变魔坊资产明细-积分明细-分页

  // 魔坊进阶
  static String magicFangAdvancedDetail =
      '$baseUrl/marketing/web/versatile/magic/grade/advanced/detail'; //魔坊进阶详情 id传魔坊Id
  static String magicFangAdvancedRecord =
      '$baseUrl/marketing/web/versatile/magic/advanced/record'; //进阶记录 id传魔坊Id
  static String magicFangAdvancedConsumeDetail =
      '$baseUrl/marketing/web/versatile/magic/advanced/consume/record'; //进阶消耗记录 id传进阶记录Id
  static String magicFangAdvanced =
      '$baseUrl/marketing/web/versatile/magic/advanced'; //魔坊进阶 id传魔坊Id

  // 百变储蓄罐
  static String magicFangPiggyBankData =
      '$baseUrl/marketing/web/versatile/pool/data'; //用户百变池数据 id传魔坊id
  static String mgPiggyBankTotalReleasePage =
      '$baseUrl/marketing/web/versatile/pool/release/group/page'; //用户百变池释放汇总明细 id传魔坊id
  static String mgPiggyBankReleasePage =
      '$baseUrl/marketing/web/versatile/pool/release/page'; //用户百变池释放明细 id传魔坊id
  static String mgPiggyBankDetailsPage =
      '$baseUrl/marketing/web/versatile/pool/page'; //用户百变池明细 id传魔坊id

  // 百变奖池
  static String magicFangPrizePoolDetailPage =
      '$baseUrl/marketing/web/versatile/prize/pool/user/activity/detail'; //魔坊百变奖池详情
  static String mgPrizePoolActivityResult =
      '$baseUrl/marketing/web/versatile/prize/pool/activity/result'; //抽奖
  static String mgPrizePoolRecord =
      '$baseUrl/marketing/web/versatile/prize/pool/record/page'; //用户抽奖记录 id传抽奖活动id
  static String mgPrizePoolRecordDetail =
      '$baseUrl/marketing/web/versatile/prize/pool/record/detail'; //用户抽奖记录详情 id传抽奖抽奖记录id
  static String getUserUnion =
      '$baseUrl/user/web/v1/union/getUserUnion'; // 获取用户工会
  static String getPageUnionMember =
      '$baseUrl/user/web/v1/union/pageUnionMember'; // 分页查询工会成员
}
